package com.zmj.sy.mom.srv.aps.bean.dto.mes;


import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class MesOrderDataPlatepartReqDto {

    @JacksonXmlProperty(localName = "NAME", isAttribute = true)
    private String name;

    @JacksonXmlProperty(localName = "WorkChain", isAttribute = true)
    private String workChain;

    @JacksonXmlProperty(localName = "Type", isAttribute = true)
    private String type;

    @JacksonXmlProperty(localName = "Thickness", isAttribute = true)
    private String thickness;

    @JacksonXmlProperty(localName = "Weight", isAttribute = true)
    private String weight;

    @JacksonXmlProperty(localName = "Count", isAttribute = true)
    private String count;

    @JacksonXmlProperty(localName = "Info", isAttribute = true)
    private String info;

    @JacksonXmlProperty(localName = "Material", isAttribute = true)
    private String material;

    @JacksonXmlProperty(localName = "Drawing", isAttribute = true)
    private String drawing;

    @JacksonXmlProperty(localName = "PLMID", isAttribute = true)
    private String plmId;

    @JacksonXmlProperty(localName = "ERPID", isAttribute = true)
    private String erpId;

    @JacksonXmlProperty(localName = "ConstructNo", isAttribute = true)
    private String constructNo;

    @JacksonXmlProperty(localName = "ConstructOrderNo", isAttribute = true)
    private String constructOrderNo;

    @JacksonXmlProperty(localName = "AssemblyPath", isAttribute = true)
    private String assemblyPath;

    @JacksonXmlProperty(localName="WorkDetails")
    @JacksonXmlElementWrapper(useWrapping = false)
    private List<MesOrderDataWorkDetailReqDto> workDetails;
}
